'use strict'

let BASE_HOST = '';
let API_CONTEXT_PATH = '';
let WEB_CONTEXT_PATH = ''
// 判断发布环境
if(process.argv[2] == 'prod') {
  BASE_HOST = 'https://blog.beansprout.top';
  API_CONTEXT_PATH = '/api';
  WEB_CONTEXT_PATH = '/manage/'
}

module.exports = {
  NODE_ENV: '"production"',
  ENV_ARGV: '"' + process.argv[2] + '"',
  BASE_HOST: '"' + BASE_HOST + '"',
  API_CONTEXT_PATH: '"' + API_CONTEXT_PATH + '"',
  BASE_API: '"' + BASE_HOST + API_CONTEXT_PATH + '"',
  WEB_CONTEXT_PATH: '"' + WEB_CONTEXT_PATH + '"'
}
